package com.itheima.service;

import com.itheima.pojo.Brand;
import com.itheima.pojo.PageBean;

import java.util.List;

public interface BrandService {

    /**
     * 查询所有
     * @return
     */
    List<Brand> selectAll();

    /**
     * 添加数据
     * @param brand
     */
    void add(Brand brand);

    void deleteByIds(int ids[]);

    PageBean<Brand>  selectByPageAndCondition(int currentPage, int pageSize,Brand brand);

    void deleteById(int id);

    void updateById(Brand brand);
}
